package algorithms;

import game.AbstractOthelloPosition;

public class OthelloEvaluatorLimitMoves implements OthelloEvaluatorInterface {

	@Override
	public int evaluate(AbstractOthelloPosition position) {
		AbstractOthelloPosition p = (AbstractOthelloPosition) position.clone();
		p.changePlayer();
		return position.getMoves().size() - p.getMoves().size();
	}

}
